@if (class) {
  <i [class]="class" aria-hidden="true">
    <ng-content></ng-content>
  </i>
} @else {
  <ng-template [ngTemplateOutlet]="icon"></ng-template>
}
